package com.sn.author.service.dao;

import com.sn.author.domain.dto.AuthorDTO;
import com.sn.author.domain.vo.CallbackVo;
import com.sn.author.domain.vo.HeartVo;

public interface ApiService {

    AuthorDTO authorCode(String key) throws Exception;

    boolean heart(HeartVo heartVo);

    /**
     * 回调消息处理
     */
    Boolean callback(CallbackVo callbackVo);

}
